package org.cocos2dx.cpp;

import android.util.Log;

/**
 * Created by Administrator on 2017/8/25/025.
 */

public class JniTest {
    private static final String TAG = "JniTest";

    public static void func1() {
//        Toast.makeText();
        Log.i(TAG, "showToast: ");
    }

    public static int func2() {
        return 100;
    }

    public static String func3(int i) {
        String str = "get int value:" + i;
        Log.e(TAG, str);
        return str;
    }

    public static String func4(String str) {
        Log.e(TAG, str);
        return str;
    }

    public static int func5(int a, int b) {
        int c = a + b;
        Log.e(TAG, "func5");
        return c;
    }
}
